package com.itheima.demo01;

public class Test {

    public static void main(String[] args) {
        //创建猫对象

        Ragdoll r1 = new Ragdoll();
        r1.eat();
        r1.drinkWater();
        r1.catchMice();

        BeaverCat b1 = new BeaverCat();

        b1.eat();
        b1.drinkWater();


        System.out.println("==========================");

        Husk h1 = new Husk();

        h1.eat();
        h1.drinkWater();
        h1.lookHouse();
        h1.tearHouse();

    }
}
